package cn.jas.base.jasbase.web;

import cn.jas.base.jasbase.service.HealthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: jas-parent
 * @description:
 * @author: chen_mx
 * @create: 2020-01-15 16:52
 **/
@RestController
public class HomeController {

    @Autowired
    private HealthService   healthService;

    @RequestMapping( "/isOk")
    public  String   isOk(){
        return healthService.isOk();
    }

    @RequestMapping( "/status")
    public  String   status(){
        return "isOk";
    }


}
